/* Color Tokens */
.primary {
	color: #FF0009; /* $primary */
}

.secondary {
	color: #D7D7D7; /* $secondary */
}

.tertiary {
	color: #FFF212; /* $tertiary */
}

.light {
	color: #FEFEFE; /* $light */
}

.dark {
	color: #201E1E; /* $dark */
}
/* End Color Tokens */

/* Testimonial System General */
.testimonial-system {
	padding: 0;
}

.testimonial-system .sub-banner {
	transition: opacity .5s ease 0s;
}

.test-expand .testimonial-system .sub-banner {
	opacity: .5;
}

.testimonial-system .sub-banner h1 {
}
/* End Testimonial System General */

/* Testimonial System Review Form */
.testimonial-system .add-review {
	display: block;
	margin: 0 auto 2em;
	cursor: pointer;
	color: #FF0009; /* $primary */
	font-size: 1.111em;
	font-weight: 600;
	transition: color .5s ease 0s, opacity .5s ease 0s;
	padding: 1.5em 0;
	text-align: center;
	width: 100%;
	max-width: 400px;
	border: solid 2px #201E1E; /* $dark */
}

.test-expand .testimonial-system .add-review {
	opacity: .5;
}

.testimonial-system .add-review .no-reviews {
	display: none;
}

.testimonial-system.no-reviews .add-review .no-reviews {
	display: inline;
}

.testimonial-system .add-review:hover {
	color: #201E1E; /* $dark */
}

.testimonial-system .add-review icon {
	color: #201E1E; /* $dark */
	font-size: 1.5em;
	position: relative;
	padding-right: .3em;
	vertical-align: middle;
}

.testimonial-system .add-review-form {
	background-color: #201E1E;
	padding: 2.5em 3%;
	margin: 2em auto;
	display: none;
	color: #FEFEFE; /* $light */
}

.testimonial-system .add-review-form h2 {
	margin-bottom: .5em;
	color: #FF0009; /* $primary */
}

.testimonial-system .add-review-form .cancel {
	position: absolute;
	top: .25em;
	right: .25em;
	font-size: 2em;
	color: #FF0009; /* $primary */
}

.testimonial-system .add-review-form .cancel:hover {
	color: #FFF212; /* $tertiary */
}

.add-review-form fieldset .input-text ul.star-rating {
	-webkit-justify-content: flex-end;
	-ms-flex-pack: end;
	justify-content: flex-end;
	-webkit-flex-direction: row-reverse;
	-ms-flex-direction: row-reverse;
	flex-direction: row-reverse;
}

.testimonial-system .add-review-form input, .testimonial-system .add-review-form select, .testimonial-system .add-review-form textarea {
	text-align: left;
}

.testimonial-system .star-rating input {
	width: 2em;
	height: 2em;
	box-shadow: none;
	padding: 0;
	margin: 0;
	line-height: 1;
	display: inline-block;
	opacity: 0;
}

.testimonial-system .star-rating label.ui-star {
	display: inline-block;
	height: 1.5em;
	width: 2em;
	margin-left: -2em;
	line-height: 1;
}

.testimonial-system .star-rating label.ui-star:before {
	content: '\f32d';
	font-family: 'icomoon-ult';
	font-size: 1.5em;
	color: #6B6B6B;
}

.testimonial-system .star-rating .active label.ui-star:before,.testimonial-system .star-rating input:checked + label.ui-star:before,.testimonial-system .star-rating li:hover input + label.ui-star:before,.testimonial-system .star-rating li:hover ~ li input + label.ui-star:before {
	color: #E7C311;
}
/* End Testimonial System Review Form */

/* Testimonial System Reviews List */
.testimonial-system .testimonial-list {
	-webkit-align-items: stretch;
	-ms-flex-align: stretch;
	align-items: stretch;
	-webkit-flex-wrap: wrap;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	border-top: solid 1px #CECECE; /* darken($light,15%) */
}

.no-flexbox .testimonial-system .testimonial-list {
	display: block;
}

.no-flexbox .testimonial-system .testimonial-list:after {
	content: ' ';
	display: block;
	clear: both;
}

.testimonial-system .testimonial-list li {
	-webkit-flex: 1 1 auto;
	-ms-flex: 1 1 auto;
	flex: 1 1 auto;
	width: 33%;
	position: relative;
	border-bottom: solid 1px #CECECE; /* darken($light,15%) */
	border-left: solid 1px #CECECE; /* darken($light,15%) */
	-webkit-align-items: stretch;
	-ms-flex-align: stretch;
	align-items: stretch;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	opacity: 1;
	transition: opacity .5s ease 0s;
}

.no-flexbox .testimonial-system .testimonial-list li {
	display: block;
	float: left;
	width: 50%;
}

.no-flexbox .testimonial-system .testimonial-list li:nth-child(2n+1) {
	clear: left;
}

.test-expand .testimonial-system .testimonial-list li:not(.test-expand) {
	opacity: .4;
}

.testimonial-system .testimonial-list li.test-expand {
	position: static;
}

.testimonial-system .testimonial-list li:nth-child(3n+1) {
	border-left: none;
}

.no-flexbox .testimonial-system .testimonial-list li:nth-child(3n+1) {
	border-left: solid 1px #DBDBDB;
}

.testimonial-system .testimonial-list li blockquote {
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	position: relative;
	margin: 0;
	padding: 2em 2em 1.5em;
	-webkit-justify-content: space-between;
	-ms-flex-pack: justify;
	justify-content: space-between;
	-webkit-flex-direction: column;
	-ms-flex-direction: column;
	flex-direction: column;
	width: 100%;
	left: 0;
	box-shadow: 0 0 1em rgba(0,0,0,0);
	transition: .5s ease 0s;
	background-color: rgba(255,255,255,0);
	border: solid 1px rgba(219,219,219,0);
}

.testimonial-system .testimonial-list li.test-expand blockquote {
	position: fixed;
	width: 60%;
	left: 20%;
	z-index: 91;
	background-color: #FEFEFE; /* $light */
	border: solid 1px #CECECE; /* darken($light,15%) */
	box-shadow: 0 0 1em rgba(0,0,0,.1);
	top: 50%;
	-webkit-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	transform: translateY(-50%);
	max-height: 100%;
	display: block;
	overflow: auto;
}

.testimonial-system .testimonial-list li .review {
	-webkit-flex: 1 1 auto;
	-ms-flex: 1 1 auto;
	flex: 1 1 auto;
	position: relative;
	overflow: hidden;
	max-height: 14em;
	min-height: 14em;
}

.testimonial-system .testimonial-list li.test-expand .review {
	max-height: 30em;
	transition: max-height .5s ease 0s;
}

.testimonial-system .testimonial-list li.expander .review:after {
	content: ' ';
	position: absolute;
	width: 100%;
	height: 25%;
	left: 0;
	bottom: 0;
	background-image: linear-gradient(to bottom,rgba(255,255,255,0),#FEFEFE);
	opacity: 1;
	transition: opacity .5s ease 0s;
}

.testimonial-system .testimonial-list li.expander.test-expand .review:after {
	opacity: 0;
}

.testimonial-system .testimonial-list li .review h3 {
	padding-bottom: .85em;
	margin-bottom: .85em;
	position: relative;
	color: #FF0009; /* $primary */
}

.testimonial-system .testimonial-list li .review h3:after {
	content: ' ';
	display: block;
	width: 100px;
	height: 1px;
	background-color: #CECECE; /* darken($light,15%) */
	position: absolute;
	bottom: 0;
}

.testimonial-system .testimonial-list li .review p {
	margin: 0;
}

.testimonial-system .testimonial-list li .info {
	-webkit-flex: 0 1 auto;
	-ms-flex: 0 1 auto;
	flex: 0 1 auto;
	padding-top: 1.5em;
}

.testimonial-system .testimonial-list li .info .box {
	-webkit-align-items: center;
	-ms-flex-align: center;
	align-items: center;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
}

.testimonial-system .testimonial-list li .info .box p {
	margin: 0;
}

.testimonial-system .testimonial-list li .info .author {
	padding-right: .75em;
}

.testimonial-system .testimonial-list li .info .location {
}

.testimonial-system .testimonial-list li .info .author + .location {
	padding-left: .75em;
	border-left: solid 1px #DBDBDB;
}

.testimonial-system .testimonial-list li .info .rating-icons {
	margin-top: .2em;
	color: #E7C311;
	display: block;
	font-size: 1.3em;
}

.testimonial-system .testimonial-list li .info .rating-icons icon {
}

.testimonial-system .testimonial-list .open {
	position: absolute;
	display: none;
}

.testimonial-system .testimonial-list .expander .open {
	display: block;
	right: 6%;
	bottom: 0;
	padding-bottom: 1.7em;
	color: #FF0009; /* $primary */
	transition: color .5s ease 0s, opacity .5s ease 0s;
	opacity: 1;
	cursor: pointer;
}

.testimonial-system .testimonial-list .expander .open .more {
	display: inline-block;
}

.testimonial-system .testimonial-list .expander .open .less {
	display: none;
}

.testimonial-system .testimonial-list .expander.test-expand .open {
	opacity: 0;
}

.testimonial-system .testimonial-list .expander.test-expand .open .more {
	display: none;
}

.testimonial-system .testimonial-list .expander.test-expand .open .less {
	display: inline-block;
}

.testimonial-system .testimonial-list .expander .open:after {
	content: ' ';
	display: block;
	position: absolute;
	bottom: 0;
	left: calc(50% - .5px);
	width: 1px;
	height: 1.6em;
	background-color: #CECECE; /* darken($light,15%) */
}

.testimonial-system .testimonial-list .expander .open:hover {
	color: #201E1E; /* $dark */
}

.testimonial-system .testimonial-list .cancel-5 {
	position: absolute;
	display: none;
	top: .25em;
	right: .25em;
	cursor: pointer;
	font-size: 1.75em;
	opacity: 0;
	transition: opacity .5s ease 0s, color .5s ease 0s;
}

.testimonial-system .testimonial-list .cancel-5:hover {
	color: #FF0009; /* $primary */
}

.testimonial-system .testimonial-list .expander .cancel-5 {
	display: block;
}

.testimonial-system .testimonial-list .test-expand .cancel-5 {
	opacity: 1;
}
/* End Testimonial System Reviews List */

/* Testimonial System Social Sites */
.testimonial-system .social-sites {
	opacity: 1;
	transition: opacity .5s ease 0s;
	background-color: #0033A0;
	color: #FEFEFE; /* $light */
	text-align: center;
	padding: 4em 0;
}

.test-expand .testimonial-system .social-sites {
	opacity: .5;
}

.testimonial-system .social-sites .title {
	padding-bottom: 1em;
}

.testimonial-system .social-sites .title h2 {
	color: #FEFEFE; /* $light */
	margin-bottom: .3em;
}

.testimonial-system .social-sites .title h3 {
	color: #FEFEFE; /* $light */
}

.testimonial-system .social-sites ul {
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-align-items: stretch;
	-ms-flex-align: stretch;
	align-items: stretch;
	-webkit-flex-wrap: wrap;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
}

.no-flexbox .testimonial-system .social-sites ul {
	display: table;
	width: 100%;
}

.testimonial-system .social-sites li {
	-webkit-flex: 1 1 31%;
	-ms-flex: 1 1 31%;
	flex: 1 1 31%;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-align-items: stretch;
	-ms-flex-align: stretch;
	align-items: stretch;
	margin: 1%;
}

.no-flexbox .testimonial-system .social-sites ul li {
	display: table-cell;
	width: auto;
	vertical-align: middle;
	padding: 0 1%;
}

.testimonial-system .social-sites li a {
	background-color: #E6E6E6; /* darken($light,5%) */
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-flex-direction: column;
	-ms-flex-direction: column;
	flex-direction: column;
	-webkit-justify-content: center;
	-ms-flex-pack: center;
	justify-content: center;
	-webkit-align-items: center;
	-ms-flex-align: center;
	align-items: center;
	width: 100%;
	padding: 2em 5%;
	border-radius: .4em;
	box-shadow: .5em .5em 1em rgba(0,0,0,0.3);
	opacity: 1;
	transition: opacity .4s ease 0s;
}

.no-flexbox .testimonial-system .social-sites ul li a {
	display: block;
}

.testimonial-system .social-sites li a:hover {
	opacity: .75;
}

.testimonial-system .social-sites li a img {
	display: block;
}
/* End Testimonial System Social Sites */

/* 1300px Responsive */
@media screen and (max-width:1300px) {
	.testimonial-system .testimonial-list li.test-expand blockquote {
		width: 90%;
		left: 5%;
	}
}
/* End 1300px Responsive */

/* 1000px Responsive */
@media screen and (max-width:1000px) {
	.testimonial-system .testimonial-list li {
		width: 50%;
	}

	.testimonial-system .testimonial-list li:nth-child(2n+1) {
		border-left: none;
	}

	.testimonial-system .testimonial-list li:nth-child(2n+4) {
		border-left: solid 1px #DBDBDB;
	}
}
/* End 1000px Responsive */

/* 800px Responsive */
@media screen and (max-width:800px) {
	.testimonial-system .testimonial-list {
		display: block;
	}

	.testimonial-system .testimonial-list li {
		width: 100%;
		border-left: none !important;
	}

	.test-expand .testimonial-system .testimonial-list li:not(.test-expand) {
		opacity: 1;
	}

	.testimonial-system .testimonial-list li .review {
		min-height: 0;
	}

	.testimonial-system .testimonial-list li.test-expand .review {
		max-height: none;
	}

	.testimonial-system .testimonial-list li.test-expand blockquote {
		width: 100%;
		left: auto;
		top: auto;
		-webkit-transform: none;
		-ms-transform: none;
		transform: none;
		position: relative;
		box-shadow: none;
		border: none;
		background-color: transparent;
		z-index: 0;
	}

	.testimonial-system .testimonial-list .expander.test-expand .open {
		opacity: 1;
	}

	.testimonial-system .testimonial-list .test-expand .cancel-5 {
		display: none;
	}

	.testimonial-system .social-sites {
		padding: 3em 0;
	}

	.testimonial-system .social-sites li {
		-webkit-flex: 1 1 48%;
		-ms-flex: 1 1 48%;
		flex: 1 1 48%;
	}

	.testimonial-system .social-sites li a {
		padding: 2em 5%;
	}
}
/* End 800px Responsive */

/* 550px Responsive */
@media screen and (max-width:550px) {
	.testimonial-system .testimonial-list li blockquote {
		padding: 1.5em 3%;
	}

	.testimonial-system .social-sites ul {
		display: block;
	}

	.testimonial-system .social-sites li {
		display: block;
		margin: .8em 2%;
	}

	.testimonial-system .social-sites li a {
		padding: 1.25em 5%;
	}

	.testimonial-system .social-sites li a img {
		max-height: 60px;
	}
}
/* End 550px Responsive */
